import { query } from "../mysqlQuery.js";
function getAboutList(req,res,next){
    query([{
        sql:'select * from about',
        values:[]
    }]).then((out)=>{
        console.log(out)
        res.send({
            code:200,
            msg:"查询成功",
            data:out[0].rows
        })
    }).catch((err)=>{
        next(err)
    })
}
export {
    getAboutList
}